﻿
* {
    margin: 0;
    padding: 0;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}



.side-menu {
    margin-left: 10px;
}

    .side-menu li {
        list-style: none;
        display: block;
        text-align: center;
    }

.navbar-nav li a {
    color: #999;
    display: block;
    padding: 5px;
}

    .navbar-nav li a.current {
        color: #00A4FF;
    }

@media (min-width: 768px) {
    .navbar-nav > li {
        float: none;
    }
}


.content {
    padding: 20px;
}


.select-img-box {
    display: block;
    width:80%;
    min-width: 211.5px;
    height: 90px;
    box-sizing: border-box;
    border: 2px dashed #ebebeb;
    color: #07c160;
    text-align: center;
    padding-top: 16px;
    -webkit-transition: all .1s;
    transition: all .1s;
    cursor: pointer;
    position: relative;
}
    .select-img-box:hover  .img-wrapper.hide-menu .select-menu {
        visibility: hidden;
        opacity: 0;
    }
.select-img-box:hover .select-menu {
    visibility: visible;
    opacity: 1;
}

    .icon-add_css {
        display: inline-block;
        width: 24px;
        height: 24px;
        position: relative;
    }

    .icon-add_css:before, .icon-add_css:after {
        content: "";
        display: block;
        position: absolute;
        background-color: #07c160;
    }
    .icon-add_css:after {
        width: 2px;
        height: 20px;
        left: 11px;
        top: 2px;
    }
    .icon-add_css:before {
        width: 20px;
        height: 2px;
        left: 2px;
        top: 11px;
    }
.select-menu {
    position: absolute;
    top: 75%;
    left: 50%;
   /* width: 110%;*/
  

    transform:translateX(-50%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .1s;
    transition: all .1s;
}

    .select-menu:before {
        content: '';
        display: block;
        position: absolute;
        width: 0;
        height: 0;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent rgba(0,0,0,0.6) transparent;
        top: -10px;
        left: 50%;
        margin-left: -5px;
    }
.select-menu {
    background-color: rgba(0,0,0,0.6);
    border-radius: 2px;
    display:flex;
}
    .select-menu > span {
        display: inline-block;
        width: 50%;
        position: relative;
        padding: 5px 10px;
        color: white;
        vertical-align: middle;
        opacity: 0.8;
        min-width: 100px;
    }
        .select-menu > span:hover {
            opacity: 1;
        }
        .select-menu > span:first-child:after {
            content: "";
            position: absolute;
            display: block;
            width: 1px;
            top: 10px;
            bottom: 10px;
            right: 0;
            background-color: white;
        }
.img-wrapper {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position:absolute;
}
.select-img-box .img-wrapper img {
    border: 3px solid #0a0;
    box-shadow: #9f0 0 0 8px 0;
}
.select-img-box .img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    display: none;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#img-list {
    max-height: 400px;
    overflow-y: scroll;
}
    #img-list li {
        border: none;
        width: 31%;
        margin: 5px;
        height: 114px;
        cursor: pointer;
        position: relative;
        justify-content: flex-end;
        flex-direction: column;
        display:flex;
    }
    #img-list img {
        object-fit: cover;
        max-height:100%;
    }

    #img-list .img-wrapper {
        display: none;
        background-color: rgba(0, 0, 0, 0.6);
    }
    #img-list li.selected, #img-list li:hover{
        border: 3px solid #0a0;
        box-shadow: #9f0 0 0 8px 0;
    }

        #img-list li.selected > .img-wrapper {
            display: flex;
         
        }
    #img-list li > span.img-info {
        line-height: 20px;
        background: rgba(118,185,0,0.8);
        color: #fff;
        text-align: center;
    }
    #img-list li .img-wrapper > i {
        font-size: 45px;
        color: #9f0;
        display: block;
        top: 50%;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }


pre {
    outline: 1px solid #ccc;
    padding: 5px;
    margin: 5px;
}

.string {
    color: green;
}

.number {
    color: darkorange;
}

.boolean {
    color: blue;
}

.null {
    color: magenta;
}

.key {
    color: red;
}

#watermarkform .form-group{
    min-height:72px;
}

#right-menu.modal.aside-vc .modal-dialog {
    width: auto;
   
}
#right-menu.hasval.modal.aside-vc .modal-dialog {
    min-width: 800px;
}
.form-actions .btn{
    margin:0 10px;
}

..sidebar{
    position:sticky;
}